package app.dev.ems.web.element;

public enum TipTipProperties {

	MAX_WIDTH_AUTO(MaxWidth.AUTO),	
	POSITION_RIGHT(Position.RIGHT);
	
	private MaxWidth maxWidth;
	private Position position;	

	private TipTipProperties(MaxWidth maxWidth) {
		this.maxWidth = maxWidth;
	}
	
	private TipTipProperties(Position position) {		
		this.position = position;
	}

	public MaxWidth getMaxWidth() {
		return maxWidth;
	}	

	public Position getPosition() {
		return position;
	}

	public enum MaxWidth {
		AUTO("auto");

		private String width;

		private MaxWidth(String width) {
			this.width = width;
		}

		public String getWidth() {
			return width;
		}
	}
	
	public enum Position {
		RIGHT("right"),
		LEFT("left"),
		TOP("top"),
		BOTTOM("bottom");
		
		private String position;

		private Position(String position) {
			this.position = position;
		}

		public String getPosition() {
			return position;
		}		
	}
}
